﻿/*
 * Indicates whether the specified string is null or an empty string.
 */
create function [String].[IsNullOrEmpty] ( @p_String nvarchar(max) )
returns bit as
begin

  if @p_String is null or @p_String = ''
  begin
    return 1;
  end
  
  return 0;

end